
import java.io.PrintWriter;

class StatementList extends Node {

	private Node stat_;
	private Node stat_list_;

	public StatementList(Node s, Node ss) {
		stat_ = s;
		stat_list_ = ss;
	}

	public StatementList(Node s) {
		stat_ = s;
	}

	@Override
	public void print(PrintWriter pw) {
		pw.println("Node name : StatementList");
		System.out.println("stat_: " + stat_);
		stat_.print(pw);
		if (stat_list_ != null) {
			stat_list_.print(pw);
		}
	}
	
	public String translate(PrintWriter pw, String condition) {
		stat_.translate(pw, null);
		if ( stat_list_ != null )
		{
			stat_list_.translate(pw, null);
		}
		return null;
	}

}